import request from '@/utils/request/request.js';
import ENV from '@/common/config';
import { ApiUrl } from './admin.url.js';
class loginApi {
  // 获取全部单位
  allUnitOfUser(data) {
    return request.post(ENV.baseUrl + ApiUrl.login, data);
  }
}

const loginApi = new loginApi();
export default loginApi;
